import { defineFakeRoute } from "vite-plugin-fake-server/client";

export default defineFakeRoute([
  {
    url: "/get-card-list",
    method: "post",
    response: () => {
      return {
        success: true,
        data: {
          list: [
            {
              id: 1,
              name: "打印机模板12321312312312",
              UpdateTime: "2024-07 - 24 16: 48: 59",
              list: [
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1655731838510.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1723515576188.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1652081947275.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1659077730689.png"
                }
              ]
            },
            {
              id: 1,
              name: "打印机模板",
              UpdateTime: "2024-07 - 24 16: 48: 59",
              list: [
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                }
              ]
            },
            {
              id: 1,
              name: "打印机模板",
              UpdateTime: "2024-07 - 24 16: 48: 59",
              list: [
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                },
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                }
              ]
            },
            {
              id: 1,
              name: "打印机模板",
              UpdateTime: "2024-07 - 24 16: 48: 59",
              list: [
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                }
              ]
            },
            {
              id: 1,
              name: "打印机模板",
              UpdateTime: "2024-07 - 24 16: 48: 59",
              list: [
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                }
              ]
            },
            {
              id: 1,
              name: "打印机模板",
              UpdateTime: "2024-07 - 24 16: 48: 59",
              list: [
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                }
              ]
            },
            {
              id: 1,
              name: "打印机模板",
              UpdateTime: "2024-07 - 24 16: 48: 59",
              list: [
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                }
              ]
            },
            {
              id: 1,
              name: "打印机模板",
              UpdateTime: "2024-07 - 24 16: 48: 59",
              list: [
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                }
              ]
            },
            {
              id: 1,
              name: "打印机模板",
              UpdateTime: "2024-07 - 24 16: 48: 59",
              list: [
                {
                  id: 582,
                  name: "商品价签55*100",
                  width: "55",
                  height: "100",
                  addTime: "2024-07-24 16:48:59",
                  updTime: "2024-07-24 16:49:43",
                  canvasPicUrl:
                    "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
                }
              ]
            }
          ]
        }
      };
    }
  },
  {
    url: "/getTemplateList",
    method: "post",
    response: () => {
      return {
        success: true,
        data: {
          list: [
            {
              id: 582,
              name: "商品价签55*100",
              width: "55",
              height: "100",
              addTime: "2024-07-24 16:48:59",
              updTime: "2024-07-24 16:49:43",
              canvasPicUrl:
                "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721810983853.png"
            },
            {
              id: 580,
              name: "商品价签100*55",
              width: "100",
              height: "55",
              addTime: "2024-07-24 15:52:34",
              updTime: "2024-07-24 15:54:29",
              canvasPicUrl:
                "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721807669763.png"
            },
            {
              id: 579,
              name: "商品价签70*38-2",
              width: "70",
              height: "38",
              category: "零售",
              orderNum: null,
              addTime: "2024-07-15 13:51:06",
              updTime: "2024-07-15 13:52:53",
              source: "default",
              canvasPicUrl:
                "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1721022773795.png"
            },
            {
              id: 254,
              name: "烟草70*38",
              width: "70",
              height: "37",
              addTime: "2022-03-07 17:28:21",
              updTime: "2024-04-02 15:41:30",
              source: "default",
              canvasPicUrl:
                "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1712043690547.png"
            },
            {
              id: 578,
              name: "牧民有礼88*54",
              width: "88",
              height: "53",
              addTime: "2024-04-02 12:27:12",
              updTime: "2024-04-02 12:28:30",
              canvasPicUrl:
                "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1712032110718.png"
            },
            {
              id: 573,
              name: "商品价签100*40",
              width: "100",
              height: "39",
              addTime: "2023-12-19 14:39:19",
              updTime: "2024-04-02 10:41:56",
              canvasPicUrl:
                "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1712025716171.png"
            },
            {
              id: 576,
              name: "药品70*38_3",
              width: "70",
              height: "37",
              addTime: "2024-03-03 09:45:44",
              updTime: "2024-03-03 09:47:29",
              source: "default",
              canvasPicUrl:
                "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1709430449866.png"
            },
            {
              id: 574,
              name: "商品价签100*60",
              width: "100",
              height: "59",
              addTime: "2024-01-08 11:47:01",
              updTime: "2024-01-08 11:47:01",
              source: "default",
              canvasPicUrl:
                "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1704685621017.png"
            },
            {
              id: 571,
              name: "药品70*38_2",
              width: "70",
              height: "37",
              addTime: "2023-12-12 14:50:15",
              updTime: "2023-12-12 14:58:22",
              source: "default",
              canvasPicUrl:
                "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1702364302361.png"
            },
            {
              id: 569,
              name: "价签模板70*40",
              width: "70",
              height: "39",
              addTime: "2023-11-29 11:54:13",
              updTime: "2023-11-29 11:57:14",
              canvasPicUrl:
                "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1701230234469.png"
            },
            {
              id: 567,
              name: "商品价签79*39_2",
              width: "79",
              height: "38",
              addTime: "2023-11-23 14:49:00",
              updTime: "2023-11-23 14:50:48",
              canvasPicUrl:
                "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1700722248155.png"
            },
            {
              id: 566,
              name: "顺丰速运",
              width: "76",
              height: "130",
              addTime: "2023-10-27 11:10:12",
              updTime: "2023-10-27 11:10:25",
              canvasPicUrl:
                "https://kuaimai-public.oss-cn-shanghai.aliyuncs.com/printer/hd-template-common-tag-1698376212280.png"
            }
          ]
        }
      };
    }
  }
]);
